<?php

namespace app\index\controller;

use app\common\YujisoController;
use app\index\service\SellService;

class Sell extends YujisoController
{
    public function __construct(){
        parent::__construct();
    }
    public function index(){
        exitJson(SellService::getList($this->param));
    }
    //详情
    public function create(){
        if ($this->request->isPost()) {
        } else {
            //详情
            exitJson(SellService::detail($this->param));
        }
    }
}